import axios from 'axios';
import { type StoreT } from '../redux/store';

// accessToken
const apiAxiosInstance = axios.create({
  baseURL: import.meta.env.VITE_URL,
});

let store: StoreT | undefined;
export const injectStore = (_store: StoreT): void => {
  store = _store;
};



export default apiAxiosInstance;
